package com.yhk.wuchat.common.user.domain.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @version 1.0
 * @Author moresuo
 * @Date 2024/4/9 16:38
 * @注释
 */
@Data
public class ModifyNameReq {
    @ApiModelProperty("新用户名")
    @NotBlank
    @Length(max = 6, message = "用户名长度不能超过6")
    private String name;
}
